package com.bba.fms.common.ezspecial.util;

import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: fms
 * @Author: 王志鹏
 * @CreateTime: 2019-10-14 13:29
 * @description: set ExcelResult 中值使用常用方法
 */
public class DtoUtil {

    private DtoUtil(){}

    /**
     * 获得当前表表头
     * @param data
     */
    public static List<String> headList(List<String> data) {
        List<String> headList = new ArrayList<>();
        for (String v : data) {
            headList.add(v);
        }
        return headList;
    }

}
